<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

  </head>
  <body>
  <g:if test="${upd=='si'}">
    <script>
      goTo('turno','list','','definicion_list');
    </script>
  </g:if>
  <g:if test="${sendingEmail==1}">
    <script>
      closeLoading('loader')
    </script>
  </g:if>
  <div class="definicion">
    <div class="turno">
${DefinicionUtils.buildHeaderShow_N_G('','turno')}
      <g:if test="${flash.message}">
        <div class="message">${flash.message}</div>
      </g:if>
      <g:if test="${listaErrores && listaErrores.size()>0}">
        <div class="errors">
          <ul>
            <g:each var="error" in="${listaErrores}">
              <li>${error}</li>
            </g:each>
          </ul></div>
      </g:if>
      <g:hasErrors bean="${turnoInstance}">
        <div class="errors">
          <g:renderErrors bean="${turnoInstance}" as="list" />
        </div>
      </g:hasErrors>
    </div>
    <g:form action="save" method="post" autocomplete="off" name="definicion">
      <input type="hidden" name="eOc" value="${eOc}"/>
      <input type="text" id="id" name="id" value="${turnoInstance.id}" disabled class="disabled"  style="display: none;"/>
      <table align="center">
        <tbody>
          
          <tr class="prop">
            <td align="left" valign="middle" class="name">
            <label for="turnoDescripcion"><g:message code="turno.turnoDescripcion.label" default="Descripci&oacute;n" /></label>            </td>
            <td valign="top" class="value ${hasErrors(bean: turnoInstance, field: 'turnoDescripcion', 'errors')}">
        <g:textField name="turnoDescripcion" maxlength="50" style="width:200px" value="${turnoInstance?.turnoDescripcion}" class="campos" />
        </td>
        </tr>

        </tbody>
      </table>
      <br/>
    </g:form>
  </div>
</body>
</html>